//
//  DayCell.m
//  Product_NEWS
//
//  Created by dllo on 16/1/11.
//  Copyright © 2016年 FCH. All rights reserved.
//

#import "DayCell.h"

@implementation DayCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubView];
    }
    
    return self;
    
    
    
}



-(void)createSubView
{
  self.headImageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 10 * SCREEN_HEIGHT, 30 * SCREEN_WIDTH, 30* SCREEN_HEIGHT)];
    [self.contentView addSubview:self.headImageView];
    self.headImageView.backgroundColor = [NightModeHandle shareNightModeHandle].allViewColor;
    [_headImageView release];
    
    self.btn = [UIButton buttonWithType:UIButtonTypeCustom];
    self.btn.frame = CGRectMake(45 * SCREEN_WIDTH, 15 *SCREEN_HEIGHT, 80* SCREEN_WIDTH*SCREEN_HEIGHT, 15);
    self.btn.backgroundColor = [NightModeHandle shareNightModeHandle].allViewColor;
    [self.contentView addSubview:self.btn];
 
}




   @end
